package org.nmgyjt.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nimbusds.jose.JOSEException;
import org.nmgyjt.springboot.beans.admin.*;
import org.nmgyjt.springboot.entity.admin.*;
import org.nmgyjt.springboot.entity.area.Area;
import org.springframework.stereotype.Service;

import java.text.ParseException;
import java.util.List;


@Service
public interface ICsSystemDeptService extends IService<CsSystemDept> {

    IDAASOrgEntity createCsSystemOrg(CsSystemOrgCreateBean bean) throws ParseException, JOSEException;

    IDAASOrgEntity updateCsSystemOrg(CsSystemOrgCreateBean bean) throws ParseException, JOSEException;

    List<CsSystemAdminAndOrgInfo> selectOrgList(CsSystemOrgSelectBean bean) throws Exception;

    String deleteCsSystemOrg(CsSystemOrgDeleteBean bean) throws ParseException, JOSEException;

    String udOrderCsSystemOrg(List<CsSystemUdOrderBean> bean) throws ParseException, JOSEException;

    CsSystemDeptResponse detailCsSystemOrg(CsSystemIDSelectBean bean) throws ParseException, JOSEException;

    IDAASOrgEntity detailCsSystemBeyongOrg(CsSystemBeyongDeptSelectBean bean) throws ParseException, JOSEException;

    IDAASOrgEntity initOrg(CsSystemIDSelectBean bean) throws ParseException, JOSEException;

    void initInstitution(CsSystemIDSelectBean bean) throws ParseException, JOSEException;

    void initDeleteOrg(CsSystemOrgInitDeleteBean bean) throws ParseException, JOSEException;

    List<IDAASOrgEntity> selectTeamLevel(Area bean) throws ParseException, JOSEException;

    void initProvinceInstitution(CsSystemIDSelectBean bean) throws ParseException, JOSEException;

    void preSetOffices(CsSystemOrgCreateBean dept, String orgId) throws ParseException, JOSEException;

    void updateOrgUserNumber() throws ParseException, JOSEException;

     List<CsSystemAdminAndOrgInfo> selectOrgResetDetail(CsSystemOrgSelectBean bean) throws ParseException, JOSEException;
}